%ones

DateCell = {2018 1 30};
Times = [0,...
    0, 100, 200, 300, 400, 500,...
    600, 700, 900, 1100, 1300, 1500];
Folders = [15,...
    19, 20, 21, 22, 23, 24,...
    26, 27, 28, 29, 30, 31];
ExcludePics = {[],...
    [], [], [], [], [], [],...
    [], [], [], [], [], []};
NormFolders = [16,...
    25 * ones(1, 12)]; % 10ms
ExcludePicsNorm = {[],...
    [], [], [], [], [], [],...
    [], [], [], [], [], []};

OnesFolder = 16;
ThreesFolder = 17;
SinglesFolder = 18;
ExcludeOnes = [];
ExcludeThrees = [];
ExcludeSingles = [];

Cx = [];
Cy = [];
PeriodGuess = 20;
FixedPeriod = 0;
DisplayAll = 1;
ComputeCorr = 0;
BinWidth = 1;
CutoffR = 14;
n_low_cutoff = 0.1;
TempFitInitP = [2, 0.97];
UseQuantityToFit = [0, 1];
% dset = DiffuseSet();
% dset.Saving = 1;
% save_dir = '';
% dset.analyzeDataFolders(DateCell, Folders, NormFolders, Times,...
%                 ExcludePics, ExcludePicsNorm, ...
%                 Cx, Cy, OnesFolder, ThreesFolder, ExcludeOnes,...
%                 ExcludeThrees, BinWidth, ComputeCorr,...
%                 CutoffR, SinglesFolder, ExcludeSingles,...
%                 save_dir, [])
% dset.analyzeSingleWavelength(PeriodGuess, FixedPeriod,...
%                n_low_cutoff, UseQuantityToFit, TempFitInitP, save_dir)

% dset = DiffuseSet();
% dset.Saving = 1;
% save_dir = '';
% dset.analyzeDataFolders(DateCell, Folders, NormFolders, Times,...
%                 ExcludePics, ExcludePicsNorm, ...
%                 Cx, Cy, OnesFolder, ThreesFolder, ExcludeOnes,...
%                 ExcludeThrees, BinWidth, ComputeCorr,...
%                 CutoffR, SinglesFolder, ExcludeSingles,...
%                 save_dir, [])
% dset.analyzeSingleWavelength(PeriodGuess, FixedPeriod,...
%                n_low_cutoff, UseQuantityToFit, TempFitInitP, save_dir)
